#创建列表，用for从列表中取数，遍历列表，找与列表中第一个数相等的数，找到就从列表中删除两个数，找不到就输出

#
def work1():
    a =[1,4,6,3,6,1,4]
    for i in range(len(a)):
        for j in range(i+1,len(a)):
            if a[i]==a[j]:
                a[i]=a
                a[j]=a
    for i in range(7):
        if isinstance(a[i],int):
            print(f'要找的数是{a[i]}')

def work2():
    b= [1,4,6,3,6,1,4]
    #异或，，，
    result =0
    for i in b:
        result ^=i
    print(result)

if __name__ == '__main__':
    work1()
        # else:
        #






#     if a[i]==1:
#
#     else:
#         continue
# print(a)




